using MediatR;
using RBAC.ErrorCode;
using SmartHealthcare.Read.Api.DTo;

namespace SmartHealthcare.Read.Api.Application.Command.Medicine
{
    /// <summary>
    /// 药品入库查询命令
    /// </summary>
    public class GetMedicineStorageCommand : IRequest<APIResult<List<MedicineStorageDto>>>
    {
        public string? MedicineName { get; set; }
        public string? Specification { get; set; }
        public string? DosageForm { get; set; }
        public string? DrugType { get; set; }
        public string? CostName { get; set; }
        public int? Inventory { get; set; }
        public int? InventoryLimit { get; set; }
        public int? InventoryLowerLimit { get; set; }
        public decimal? Price { get; set; }
        public decimal? PurchasePrice { get; set; }
        public DateTime? ManufactureDateFrom { get; set; }
        public DateTime? ManufactureDateTo { get; set; }
        public DateTime? EffectiveDateFrom { get; set; }
        public DateTime? EffectiveDateTo { get; set; }
        public string? Effect { get; set; }
    }
}
